/*
 * @(#) ArticleDao.java 2018年2月8日 下午5:34:04
 *
 * Copyright 2018 CIMIP, Inc. All rights reserved.
 * H-VISIONS PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */package cn.hc.share.dao;

import java.util.List;

import cn.hc.share.entity.Answer;

public interface AnswerDao
{

	public int addAnswer(Answer answer);

	// 获取评论下的所有回复
	public List<Answer> findAnswersByCommentId(String commentId);

	// 根据answerId删除回复
	public int removeAnswerByAnswerId(String id);

	// 根据answerId删除回复
	public int removeAnswerByCommentId(String commentId);

}
